// 存储经纬度信息
let position: number[] = [116.2317, 39.5427];

// 个数不能检查
position = [116.2317, 39.5427, 110.11];

// 使用元组可以检查数组个数
let position2: [number, number] = [116.2317, 39.5427];

position2 = [116.2317, 39.5427];

// 把一个学生信息，定义到对象当中
let stu: [string, number, number] = ['jack', 18, 100];
